package com.ltg.urban.domain.project.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ltg.framework.mybatis.entities.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p> ClassName: UrbanProjectCapitalRecord </p>
 * <p> Package: com.ltg.urban.domain.project.entity </p>
 * <p> Description: </p>
 * <p></p>
 *
 * @Author: LTG
 * @Create: 2023/2/26 - 15:19
 * @Version: v1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("u_project_capital_detail")
public class UrbanProjectCapitalDetail extends BaseEntity {

    @Schema(description = "资金id")
    private Long capitalId;
    @Schema(description = "发票")
    private Long fileId;
    @Schema(description = "资金费用")
    private BigDecimal fee;
    @Schema(description = "申情人Id")
    private String applyUser;
    @Schema(description = "申请结果:-1失败、0初始值、1成功")
    private Integer approveResult;
    @Schema(description = "审批说明")
    private String approveDescription;
    @Schema(description = "申请用途")
    private String applyUse;

    @Schema(description = "批准时间")
    private LocalDateTime approveTime;
    private String approver;
    private Integer status;

}
